package com.zhixiang.xaec.service.safebase.constructionproject.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zhixiang.core.dao.BaseDao;
import com.zhixiang.core.service.impl.BaseServiceImpl;
import com.zhixiang.xaec.dao.safebase.constructionproject.ThreeSameTimeDao;
import com.zhixiang.xaec.entity.safebase.constructionproject.ThreeSameTime;
import com.zhixiang.xaec.service.safebase.constructionproject.ThreeSameTimeService;

@Service
public class ThreeSameTimeServiceImpl extends BaseServiceImpl<ThreeSameTime,Long> implements ThreeSameTimeService{

    @Override
    @Resource(type=ThreeSameTimeDao.class)
    public void setBaseDao(BaseDao<ThreeSameTime, Long> dao) {
       setDao(dao);
    }

    @Override
    public String delete(String[] ids)
    {
       for(String id:ids){
           getDao().remove(Long.valueOf(id));
       }
        return null;
    }
    
}
